package com.ftg.learn.chapter01.entity;

/**
 * @author kangjx
 * @createTime 2022/11/2
 */
public class PetDog  extends Dog{

    String asName;

    public String getAsName() {
        return asName;
    }

    public void setAsName(String asName) {
        this.asName = asName;
    }

    @Override
    public void eat() {
        System.out.println("宠物:"+super.getDname()+"，可以吃肉");
    }

}
